function qiucklogin(url){
    var logform = $("#loginform");
    $.post(url,$("#loginform").serialize(),function(data){
        if(data["status"] == 0){
            if(data["data"]["usertype"] == 0){//普通用户
                location.href = "<?= $this->createUrl('package/yuyue')?>";
            }else{
                location.href = "<?= $this->createUrl('company/manager/index') ?>";
            }
        }else{
//            alert("登录失败");
			  alert(data["info"]);
        }
    },"json");
}    
function mdencryption(url){
	$pass = document.getElementById('password');
 	$hash = hex_md5($pass.value);
 	$pass.value = $hash;

 	qiucklogin(url);
}
$("#roll_interior").bxCarousel({ 
    display_num: 4,  
    move: 1,  
    auto: true,  
    controls: false, 
    margin: 10 
});